//
//  TeacherListTableViewCell.m
//  huashiedu
//
//  Created by oceans on 2018/9/6.
//  Copyright © 2018年 hema. All rights reserved.
//

#import "TeacherListTableViewCell.h"

@implementation TeacherListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    _teacherImageView.layer.cornerRadius = 31.0;
    _teacherImageView.layer.masksToBounds = YES;
    _teacherImageView.layer.borderColor = [UIColor colorWithRed:239/255.0 green:243/255.0 blue:249/255.0 alpha:1.0].CGColor;
    _teacherImageView.layer.borderWidth = 3.0;
    
    self.starView = [[HCSStarRatingView alloc] initWithFrame:CGRectMake(93, 53, 70, 16)];
    _starView.maximumValue = 5;
    _starView.tintColor = COLOR(255, 108, 96, 1);
    _starView.starBorderWidth = 0;
    _starView.spacing = 4;
    _starView.userInteractionEnabled = NO;
    [self.contentView addSubview:_starView];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
